using System;

namespace Book.Blog.Core.DTOs
{
    /// <summary>
    /// 创建标签请求DTO
    /// </summary>
    public class CreateTagDTO
    {
        /// <summary>
        /// 标签名称
        /// </summary>
        /// <example>C#</example>
        public required string Name { get; set; }

        /// <summary>
        /// 标签描述
        /// </summary>
        /// <example>与C#相关的内容</example>
        public string? Description { get; set; }

        /// <summary>
        /// 标签唯一标识slug
        /// </summary>
        /// <example>csharp</example>
        public required string Slug { get; set; }
    }

    /// <summary>
    /// 更新标签请求DTO
    /// </summary>
    public class UpdateTagDTO
    {
        /// <summary>
        /// 标签名称
        /// </summary>
        /// <example>C#</example>
        public required string Name { get; set; }

        /// <summary>
        /// 标签描述
        /// </summary>
        /// <example>与C#相关的内容</example>
        public string? Description { get; set; }

        /// <summary>
        /// 标签唯一标识slug
        /// </summary>
        /// <example>csharp</example>
        public required string Slug { get; set; }
    }
} 